package com.excel.vo;

import java.util.Date;

/**
 * VO 存储Excel中的一行记录.
 * 
 * <p/>视具体应用情况添加或删除属性.
 * 
 * <p/>目前属性涵盖了整型、字符串、日期、布尔值、double和float类型.
 * 
 * @author Wang Kerui
 *
 */
public class VO {
	
	private int id = 0;
	private String name = null;
	private Date date = null;
	private boolean bool = false;
	private double point = 0.0;
	private float point2 = 0.0f;
	
	@Override
	public String toString(){
		return "id=" + id + ", name=" + name + ", date=" + date + ", bool=" + bool + ", point=" + point + ", point2=" + point2;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public boolean getBool() {
		return bool;
	}

	public void setBool(boolean bool) {
		this.bool = bool;
	}

	public double getPoint() {
		return point;
	}

	public void setPoint(double point) {
		this.point = point;
	}

	public float getPoint2() {
		return point2;
	}

	public void setPoint2(float point2) {
		this.point2 = point2;
	}
	
}
